<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>百世面单</title>
<style rel="stylesheet" type="text/css" media="all" >
body {
margin:0 9px 9px 9px;
width:450px;
padding: 0;
color: black;
text-decoration: none;
font-size: 11pt;
font-weight:bold;
font-family: "Courier New";
}
.ems input {
	font-family: Arial;
}

.ems th {
	font-weight: normal;
	border-bottom: 1px solid black;
}

.ems td {
	font-size: 9pt;
	font-family: "Courier New";
}

.ems td.pod {
	font-size: 11pt;
	font-family: "Courier New";
}

.ems td.t1{
	font-size:1pt;
	font-family:"宋体";
}
.ems th.pod {
	font-size: 11pt;
	font-family: "Courier New";
}

.ems td.endline {
	border-top: 1px solid black;
}

.ems .left {
	text-align: left;
}

.ems .right {
	text-align: right;
}

.ems .center {
	text-align: center;
}

.ems .top {
	vertical-align: top;
}

@media print {
	.noprint { display: none; }
	#emstable {page-break-after:always;}
	.break {page-break-after:always;}
}

</style>
<script type="text/javascript" src="./Public/Admin/lib/jquery/1.9.1/jquery.min.js"></script>
</head>

<body>
<volist name="printorder_list" id="orderInfo">

<input type="hidden" class="order_no" value="{$orderInfo['order_no']}" name="order_no" />
<table id="emstable" cellspacing="0" style="margin-left:0;margin-top:0px;float:left;width:450px;height:724px;font-size:12pt;">
	<tr style="width: 382px;" height="40.2px">
		<td width="192px" style="border-bottom: 1px solid #000;">
			<div style="width:192px;"></div>
		</td>

		<td width="170px" style="border-bottom: 1px solid #000;">
			<div>
				<span style="font-family: '黑体';font-size: 16pt;">标准快递</span><br>
				<span style="font-family: '黑体';font-size: 16pt;">成就商业•精彩生活</span><br>
			</div>
		</td>
	</tr>
	<tr>
		<td colspan="2">
			<table   width="382px";cellspacing="0" cellpadding="0" style="margin-left: 30px;border-bottom: 1px solid #000;">
				<tr>
					<td width="312px" height="50px" >
						<div style="width:312px;height: 50px;">
							<b><span style="font-family: '黑体';font-size: 26pt;">{$orderInfo["markDestination"]}</span></b>
						</div>
					</td>
					<td width="50px">
						<div style="width: 50px; height: 50px;">
							<b><span style="font-family: '黑体';font-size: 26pt;">{$orderInfo["sortingCode"]}</span></b><br>
						</div>
					</td>
				</tr>
			</table>
		</td>
	</tr>
	
	<tr>
		<td colspan="2">
			<table   width="382px";cellspacing="0" cellpadding="0" style="margin-left: 30px;border-bottom: 1px solid #000;">
				<tr>
					<td width="382px" height="40px">
						<div style="width:382px;">
							<b><span style="font-family: '黑体';font-size: 20pt;">{$orderInfo["pkgCode"]}</span></b>
						</div>
					
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
			<td colspan="2">
			<table width="382px"; cellspacing="0" style="padding-left: 30px;">
				<tr>
					<td  width="14.15px"; height="80.44px" style="border-right: 1px solid #000;border-bottom: 1px solid #000;">
						<div style="width: 14.15px; height: 80.44px;">
							<span>收件</span>
						</div>
					</td>

					<td width="237.85px" height="75px" style="border-right: 1px solid #000;border-bottom: 1px solid #000; ">
						<div style="width: 237.85px; height: 75px; padding: 0px;line-height: 17px;">
							<span style="font-family: '宋体';font-size: 13pt;">{$orderInfo["receiveMan"]}</span><br>
							<span style="font-family: '宋体';font-size: 13pt;">电话：{$orderInfo["receiveManPhone"]}</span><br>
							<span style="font-family: '宋体';font-size: 13pt;">地址：{$orderInfo["receiveManAddress"]}</span>

						</div>
					</td>
					
			
					<td rowspan="2" width="100px" height="148.7px" style="border-bottom: 1px solid #000;">

							<div style="width: 120px; height: 148.7px; padding: 0; margin: 0;">
							<table  width="120px"; cellspacing="0" height="148.7px" >
								<tr >
									<td style="width:120px;height: 24.17px; text-align: center; border-bottom: 1px solid #000;">
										<div  style="width:120px;height: 24.17px;">
											<span>服务</span>
										</div>
									</td>
								</tr>
								<tr>

									<td style="width:120px;height: 114.5px;">
										<div style="width:120px;height: 114.5px;">
											<b><span style="font-family: '宋体';font-size: 13pt;">代付/到付：</span><input type="text" value="代付" style="border:0px; width: 30px;font-family: '宋体';font-size: 13pt;"></b><br>
											<b><span style="font-family: '宋体';font-size: 13pt;">保价金额：</span><input type="text" value="0元" style="border:0px; width: 30px;font-family: '宋体';font-size: 13pt;"></b><br>
											<b><span style="font-family: '宋体';font-size: 13pt;">报价费用：</span><input type="text" value="0元" style="border:0px; width: 30px;font-family: '宋体';font-size: 13pt;"></b><br>
											<b><span style="font-family: '宋体';font-size: 13pt;">其他说明：</span><input type="text" value="" style="border:0px; width: 30px;font-family: '宋体';font-size: 13pt;"></b><br>	
										</div>
									</td>
								</tr>
							</table>
						</div>
					</td>
				</tr>
				
				<tr>
					<td  width="382px"; height="75.27px" style="border-right: 1px solid #000;border-bottom: 1px solid #000;">
						<div style="width: 14.15px; height: 75.27px;">
						<span>寄件</span></td>
						</div>

					<td width="237.85px" height="75.27px" style="border-right: 1px solid #000;border-bottom: 1px solid #000;line-height: 17px;">
						<div style="width: 237.85px; height: 75.27px;">
							<span style="font-family: '宋体';font-size: 13pt;">{$orderInfo["sendMan"]}</span><br>
							<span style="font-family: '宋体';font-size: 13pt;">电话：{$orderInfo["sendManPhone"]}</span><br>
							<span style="font-family: '宋体';font-size: 13pt;">{$orderInfo["sendManAddress"]}</span>
						</div>
					</td>
			
					
				</tr>
				
			</table>
			</td>
	</tr>
	<tr>
		<td width="382px" height="92.5px" style="border-bottom: 1px solid #000;" colspan="2">
			<table width="382px" height="85px" style="margin-left: 30px;" >
				<tr>
					<td width="382px" height="85px">
						<div style="width:235.3px;height: 72.4px; text-align: center; margin: 0 auto;">
							<img width="235.3px" height="72.4px" src="./Public/plugins/barcodegen/test_1D.php?text={$orderInfo['mailNo']}" alt="barcode"/>
							
						</div>
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td width="382px" height="50px" colspan="2">

			<div style="width: 382px; height: 50px;">
				<table width="382px"; cellspacing="0" style="margin-left: 30px;">
					<tr>
							<td width="205.1px" height="50px" style="border-top: 1px solid #000;border-right: 1px solid #000;border-bottom: 1px solid #000;">

								<div style="width: 205.1px; height: 80px;">
								<span>您对此单的签收，代表您已验收，确认商品信息无误，包装完好、没有划痕、破损等表面质量问题。</span>
							</div>
						</td>
						<td width="90.05px" height="50px" style="border-top: 1px solid #000;border-right: 1px solid #000;border-bottom: 1px solid #000;" cellpadding="0" cellspacing="0">
							<div style="width: 90.05px; height: 50px;">
								<span style="font-family: '宋体';font-size: 13pt;">收件人</span><br><br>
								<span style="font-family: '宋体';font-size: 13pt;">时间</span>
							</div>
						</td>
						<td  width="72.85px" height="50px" style="border-top: 1px solid #000;border-bottom: 1px solid #000;">
							<div style="width:72.85px;height: 50px;">
								
							</div>
						</td>
					</tr>
				</table>
				
			</div>
		</td>
	</tr>
	<tr>
		<td colspan="2">
		<table width="370px" height="60.3px" style="border-bottom: 1px solid #000; margin-left: 30px;padding-top:73px;">
			<tr>
				<td width="205.1px" height="60.3px"></td>
				<td width="162.9px" height="60.3px">
					<div style="width;162.9px; height: 48.2px;">
						<img width="162.9px" height="48.2px;" src="./Public/plugins/barcodegen/test_1D.php?text={$orderInfo['mailNo']}" alt="barcode"/>
					</div>
				</td>
			</tr>		
		</table>
		</td>
	</tr>
	<tr>
		<td colspan="2">
		<table width="382px"; height="120.7px" cellspacing="0" style="padding-left: 30px;">
			<tr>
				<td  width="14.15px"; height="60.3px" style="border-right: 1px solid #000;border-bottom: 1px solid #000;">
					<div style="width: 14.15px; height: 60.3px;">
						<span>收件</span>
					</div>
				</td>
				<td width="237.85px" height="80px" style="border-right: 1px solid #000;border-bottom: 1px solid #000;">
					<div style="width: 237.85px; height: 80px;">
						<b><span style="font-family: '宋体';font-size: 13pt;">{$orderInfo["receiveMan"]}</span></b><br>
						<b><span style="font-family: '宋体';font-size: 13pt;">电话：{$orderInfo["receiveManPhone"]}</span></b><br>
						<b><span style="font-family: '宋体';font-size: 13pt;">地址：{$orderInfo["receiveManAddress"]}</span></b>
					</div>
				</td>
			
				<td rowspan="2" width="100px" height="120.7px" style="border-bottom: 1px solid #000;">

						<div style="width: 120px; height: 120.7px; padding: 0; margin: 0;">
						</div>
				</td>
			</tr>
				
			<tr>
				<td  width="382px"; height="60.3px" style="border-right: 1px solid #000;border-bottom: 1px solid #000;">
					<div style="width: 14.15px; height: 60.3px;">
						<span>寄件</span>
					</div>
				</td>

				<td width="237.85px" height="60.3px" style="border-right: 1px solid #000;border-bottom: 1px solid #000;">
					<div style="width: 237.85px; height: 80.3px;">
						<b><span style="font-family: '宋体';font-size: 13pt;">{$orderInfo["sendMan"]}</span></b><br>
						<b><span style="font-family: '宋体';font-size: 13pt;">电话：{$orderInfo["sendManPhone"]}</span></b><br>
						<b><span style="font-family: '宋体';font-size: 13pt;">地址：{$orderInfo["sendManAddress"]}</span></b>
					</div>
				</td>	
			</tr>
				
		</table>
		</td>
	</tr>
	<tr>
		<td colspan="2">
		<table width="382px" height="40px" style="margin-left: 30px;">

			<tr>
				<td width="382px" height="10px">
					<div style="width: 382px; height: 10px; text-align: right;">
						<span>已检视</span>
					</div>
				</td>
			</tr>
		</table>
		</td>
	</tr>
	<div class="break" style="width:100%;height:0px;clear:both;">&nbsp;&nbsp;</div>
</table>

</volist>
	<!-- <input type="button" class="noprint print" name="print" value="打印"> -->
<script>
	$('.print').click(function(){
		count=$('.order_no').length;
		var str='';
		for(i=0;i<count;i++){
			if(i==0){
				str=$('.order_no').eq(i).val();
			}else{
				str=str+','+$('.order_no').eq(i).val();
			}
		}
		
		$.ajax({
			url : "{:U('printems_bat')}",
			type: "POST",
			data:{order_nolist:str},
			success:function(result){
				window.print();
				window.location.href =history.go(-1);
			}
		});
	
	})


</script>